﻿namespace WebCamera
{
    using System;

    public class BrowserPageProxy : IBrowserPage
    {
        private IBrowserPage _BrowserPage;

        private BrowserPageProxy()
        {
        }

        public BrowserPageProxy(IBrowserPage page)
        {
            this._BrowserPage = page;
        }

        public void CombineImage(string path)
        {
            this._BrowserPage.CombineImage(path);
        }

        public string PrintWindow()
        {
            return this._BrowserPage.PrintWindow();
        }

        public void ScrollTo(int x, int y)
        {
            this._BrowserPage.ScrollTo(x, y);
        }

        public IBrowserPage BrowserPage
        {
            get
            {
                return this._BrowserPage;
            }
        }

        public WebCamera.BrowserWindow BrowserWindow
        {
            get
            {
                return this._BrowserPage.BrowserWindow;
            }
        }

        public IntPtr Handle
        {
            get
            {
                return this._BrowserPage.Handle;
            }
        }

        public int Height
        {
            get
            {
                return this._BrowserPage.Height;
            }
        }

        public Guid ID
        {
            get
            {
                return this._BrowserPage.ID;
            }
        }

        public bool IsDownloadCompleted
        {
            get
            {
                return this._BrowserPage.IsDownloadCompleted;
            }
        }

        public int ScreenHeight
        {
            get
            {
                return this._BrowserPage.ScreenHeight;
            }
        }

        public int ScreenWidth
        {
            get
            {
                return this._BrowserPage.ScreenWidth;
            }
        }

        public string Url
        {
            get
            {
                return this._BrowserPage.Url;
            }
        }

        public bool Visible
        {
            get
            {
                return this._BrowserPage.Visible;
            }
            set
            {
                this._BrowserPage.Visible = value;
            }
        }

        public int Width
        {
            get
            {
                return this._BrowserPage.Width;
            }
        }

        public int X
        {
            get
            {
                return this._BrowserPage.X;
            }
            set
            {
                this._BrowserPage.X = value;
            }
        }

        public int Y
        {
            get
            {
                return this._BrowserPage.Y;
            }
            set
            {
                this._BrowserPage.Y = value;
            }
        }
    }
}

